From b9c6ce3c36da681dce723c1bfc111d55a3b424be Mon Sep 17 00:00:00 2001 From: parkrrrr Date: Tue, 2 Sep 2003 18:34:04 +0000 Subject: [PATCH] oops. Only want to do the usage thing if they provided some non-option argument. --- gpsbabel/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/main.c b/gpsbabel/main.c index 10a77a1d0..e005f7eea 100644 --- a/gpsbabel/main.c +++ b/gpsbabel/main.c @@ -214,7 +214,7 @@ main(int argc, char *argv[]) ovecs->wr_deinit(); } } - else { + else if (argc) { usage(argv[0]); exit(0); } -- 2.30.2